package com.autoTools.view;

import java.awt.Label;
import com.autoTools.util.LogUtil;
public class LabelView extends BaseView
{
	private Label mLabel = null;

	public LabelView()
	{
		mLabel = new Label();
		mLabel.setEnabled(true);
		mLabel.setVisible(true);
		BaseInit(mLabel);
	}

	public boolean addChild(BaseView child)
	{
		boolean state = false;
		LogUtil.sysLog(TAG, "addChild Error:child is not extends Component");
		return state;
	}
	public void setLabel(String label){
		super.setLabel(label);
		mLabel.setText(label);
	}
}
